<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css">
	<style type="text/css">
		.headimg {
			width: 30px;
			height: 30px;
		}
		.layui-table-cell.laytable-cell-1-0-4{
			float: right;
		}
	</style>
</head>

<body>
	<div class="layui-form">
		<blockquote class="tableHead layui-elem-quote quoteBox mod_default_box">
			<form class="layui-form layui-inline">
				<div class="layui-inline" style="float:right;">
					<a class="layui-btn" data-type="edit">新增积分兑换</a>
				</div>
			</form>
		</blockquote>

		<table id="tableList" class="layui-table" lay-filter="tableList" lay-skin="line"
			lay-data="{url:baseUrl('moneySet'), cellMinWidth: 150, id: 'tableListTable', page:true, limits: [ 30, 50, 100],limit: 30}">
			<thead>
				<tr>
					<th lay-data="{width: 180,field:'score',event: 'addPoints'}">积分(点击修改)</th>
					<th lay-data="{field:'money',event: 'addLT'}">金额(点击修改)</th>
					<th lay-data="{templet: '#templetDT1'}">创建时间</th>
					<th lay-data="{width: 120, templet: '#tableListBar'}">操作</th>
				</tr>
			</thead>
		</table>

		<script type="text/html" id="templetDT1">
			{{js.format_datetime(d.dt, 'yyyy-MM-dd HH:mm:ss')}}
		</script>
		<script type="text/html" id="tableListBar">
			<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del" data-type="del">删除</a>
		</script>
	</div>
	<script type="text/javascript" src="../../layui/layui.js"></script>
	<script type="text/javascript" src="../../js/jsCtl.js"></script>
	<script type="text/javascript" src="integral.js"></script>
</body>

</html>